package genericity;

public class Type1Test {
	public static void main(String[] args) {
		Type1<Integer> t=new Type1<>();
		t.setX(20); t.setY(30);
		System.out.println(t.getX() + "  " + t.getY());
		
		Type1<Double> t1=new Type1<>();
		t1.setX(10.42); t1.setY(20.31);
		System.out.println(t1.getX()+"  " + t1.getY());
	}
}
